The scanner got more strict, now some annotations need fixing.
GSList * gdm_user_manager_list_users (GdmUserManager *manager);
GdmUser * gdm_user_manager_get_user (GdmUserManager *manager,
- const char *user_name);
+ const char *username);
GdmUser * gdm_user_manager_get_user_by_uid (GdmUserManager *manager,
gulong uid);
/**
* shell_app_system_lookup_heuristic_basename:
- * @name: Probable application identifier
+ * @system: a #ShellAppSystem
+ * @id: Probable application identifier
*
* Find a valid application corresponding to a given
* heuristically determined application identifier
* string, or %NULL if none.
*
- * Returns: (transfer full): A #ShellApp for name
+ * Returns: (transfer full): A #ShellApp for @name
*/
ShellApp *
shell_app_system_lookup_heuristic_basename (ShellAppSystem *system,
/**
* shell_app_system_initial_search:
- * @self: A #ShellAppSystem
+ * @system: A #ShellAppSystem
* @prefs: %TRUE if we should search preferences instead of apps
* @terms: (element-type utf8): List of terms, logical AND
*
/**
* shell_app_system_subsearch:
- * @self: A #ShellAppSystem
+ * @system: A #ShellAppSystem
* @prefs: %TRUE if we should search preferences instead of apps
* @previous_results: (element-type utf8): List of previous results
* @terms: (element-type utf8): List of terms, logical AND
ShellAppUsage* shell_app_usage_get_default(void);
-GSList *shell_app_usage_get_most_used (ShellAppUsage *monitor,
- const char *context,
- gint number);
+GSList *shell_app_usage_get_most_used (ShellAppUsage *usage,
+ const char *context,
+ gint max_count);
G_END_DECLS
/**
* shell_doc_system_get_all:
- * @self: A #ShellDocSystem
+ * @system: A #ShellDocSystem
*
* Returns the currently cached set of recent files. Recent files are read initially
* from the underlying #GtkRecentManager, and updated when it changes.
/**
* shell_doc_system_queue_existence_check:
- * @self: A #ShellDocSystem
+ * @system: A #ShellDocSystem
* @n_items: Count of items to check for existence, starting from most recent
*
* Asynchronously start a check of a number of recent file for existence;
const char *uri);
void shell_doc_system_queue_existence_check (ShellDocSystem *system,
- guint n_recent);
+ guint n_items);
void shell_doc_system_open (ShellDocSystem *system,
GtkRecentInfo *info);
/**
* shell_generic_container_get_n_skip_paint:
- * @container: A #ShellGenericContainer
+ * @self: A #ShellGenericContainer
*
* Returns: Number of children which will not be painted.
*/
/**
* shell_generic_container_get_skip_paint:
- * @container: A #ShellGenericContainer
+ * @self: A #ShellGenericContainer
* @child: Child #ClutterActor
*
* Gets whether or not @actor is skipped when painting.
/**
* shell_generic_container_set_skip_paint:
- * @container: A #ShellGenericContainer
+ * @self: A #ShellGenericContainer
* @child: Child #ClutterActor
* @skip: %TRUE if we should skip painting
*
guint shell_generic_container_get_n_skip_paint (ShellGenericContainer *self);
gboolean shell_generic_container_get_skip_paint (ShellGenericContainer *self,
- ClutterActor *actor);
+ ClutterActor *child);
void shell_generic_container_set_skip_paint (ShellGenericContainer *self,
- ClutterActor *actor,
+ ClutterActor *child,
gboolean skip);
#endif /* __SHELL_GENERIC_CONTAINER_H__ */
/**
* st_border_image_equal:
- * @border_image: a #StBorder_Image
+ * @image: a #StBorder_Image
* @other: a different #StBorder_Image
*
* Check if two border_image objects are identical.
/**
* st_overflow_box_get_n_children:
- * @self: a #StOverflowBox
+ * @box: a #StOverflowBox
*
* Returns the number of children in this box.
*/
/**
* st_overflow_box_get_n_visible:
- * @self: a #StOverflowBox
+ * @box: a #StOverflowBox
*
* Returns the number of children we will paint. Only valid
* after the actor has been allocated.
GtkRecentInfo *info);
ClutterActor *st_texture_cache_load_uri_async (StTextureCache *cache,
- const gchar *filename,
+ const gchar *uri,
int available_width,
int available_height);
ClutterActor *st_texture_cache_load_uri_sync (StTextureCache *cache,
StTextureCachePolicy policy,
- const gchar *filename,
+ const gchar *uri,
int available_width,
int available_height,
GError **error);
/**
* st_theme_node_adjust_preferred_width:
* @node: a #StThemeNode
- * @min_width_p: (inout) (allow-none): the width to adjust
- * @for_height: (inout): the height to adjust
+ * @min_width_p: (inout) (allow-none): the minimum width to adjust
+ * @natural_width_p: (inout): the natural width to adjust
*
* Adjusts the minimum and natural width computed for an actor by
* adding on the necessary space for borders and padding and taking
* Adjusts a "for width" passed to clutter_actor_get_preferred_height() to
* account for borders and padding. This is a convenience function meant
* to be called from a get_preferred_height() method of a #ClutterActor
- * subclass. The value after adjustmnet is the width available for the actor's
+ * subclass. The value after adjustment is the width available for the actor's
* content.
*/
void
/**
* st_theme_node_adjust_preferred_height:
* @node: a #StThemeNode
- * @min_height_p: (inout) (allow-none): the height to adjust
- * @for_height: (inout): the height to adjust
+ * @min_height_p: (inout) (allow-none): the minimum height to adjust
+ * @natural_height_p: (inout): the natural height to adjust
*
* Adjusts the minimum and natural height computed for an actor by
* adding on the necessary space for borders and padding and taking
/* Helper for allocate() ClutterActor vfunc */
void st_theme_node_get_content_box (StThemeNode *node,
- const ClutterActorBox *actor_box,
+ const ClutterActorBox *allocation,
ClutterActorBox *content_box);
/* Helper for StThemeNodeTransition */
void st_theme_node_get_paint_box (StThemeNode *node,
- const ClutterActorBox *actor_box,
+ const ClutterActorBox *allocation,
ClutterActorBox *paint_box);
gboolean st_theme_node_geometry_equal (StThemeNode *node,
/**
* st_widget_set_style:
* @actor: a #StWidget
- * @style_class: (allow-none): a inline style string, or %NULL
+ * @style: (allow-none): a inline style string, or %NULL
*
* Set the inline style string for this widget. The inline style string is an
* optional ';'-separated list of CSS properties that override the style as
*/
void
st_widget_set_style (StWidget *actor,
- const gchar *style)
+ const gchar *style)
{
StWidgetPrivate *priv = actor->priv;